package cn.wp.ewallet.common.extension.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 以太坊属性配置
 * Created by zhangyongli on 2020/1/15
 */
@ConfigurationProperties(prefix = "wp.ewallet.common.eth")
@Component
@Data
public class EthProperties {
    /**
     * 接入网络
     */
    private String network;

    /**
     * 中央账户地址
     */
    private String centralAddress;

    /**
     * 地址私钥
     */
    private String privateKey;
}
